| 1. | The synchronizing code must perform operations on the 的同步版本。同步代码必须在 |
| 2. | Synchronized code regions 同步代码区域。 |
| 3. | Synchronized code regions 同步代码区域 |
| 4. | In other words , code in other threads cannot run until code in the synchronized code block has finished 换言之,其他线程中的代码必须等到同步代码块中的代码运行结束后才能运行。 |
| 5. | Try to put access to such resources in a separate thread , preferably outside any synchronized code 尽量将对这类资源的访问放在一个单独的线程中,最好在任何synchronized代码之外。 |
| 6. | Be sure to not synchronize code that makes blocking calls , or make sure that a non - synchronized method exists on an object with synchronized blocking code 必须确保不在同步代码中包含那些阻塞调用,或确认在一个用同步阻塞代码的对象中存在非同步方法。 |
| 7. | For example , if a container object is to be used by multiple threads , then the container can be passed to lock , and the synchronized code block following the lock would access the container 例如,如果一个容器对象将被多个线程使用,则可以将该容器传递给lock ,而lock后面的同步代码块将访问该容器。 |
| 8. | Were quite confusing , so much so that many knowledgeable developers chose to sometimes ignore the rules because writing properly synchronized code under the old memory model was so difficult 的语义很让人混淆,以致于许多有见地的开发者有时选择忽略这些规则,因为在旧的存储模型下编写正确同步的代码非常困难。 |
| 9. | After achieving the synchronization of the pn code and carrier , despreading and demodulating the received dsss signal can be executed with the local synchronized code and carrier . so , lots of energy and fund has been expended on it 直接序列扩频系统只有在完成了伪码同步和载波同步之后,才可能用同步的本地伪码和本地载波对接收的扩频信号进行解扩、解调。 |